﻿using System;
using System.Collections.Generic;
using Pay.TO;

namespace Pay.DTO {
	/// <summary>
	/// 结算方式
	/// </summary>
	[Serializable]
	public class settle_setting {
		/// <summary>
		/// 支付方式：微信扫码支付WXPAY_QR，支付宝扫码支付ALIPAY_QR，京东扫码支付JDPAY_QR,银联扫码支付UNIONPAY_QR，QQ钱包扫码支付QQ_QR，
		/// 微信付款码支付WXPAY_MICRO,支付宝款码支付ALIPAY_MICRO,
		/// 微信公众账号支付WXPAY_JS,支付宝服务窗支付ALIPAY_JS,
		/// 微信APP支付WXPAY_APP,支付宝APP支付ALIPAY_APP,
		/// 银联快捷支付UNIONPAY，B2B网关支付GATEWAY,代付PAYOFF
		/// </summary>
		public string code { get; set; }
		/// <summary>
		/// 支付费率
		/// </summary>
		public decimal fee { get; set; }
		/// <summary>
		/// 结算费
		/// </summary>
		public decimal settle { get; set; }
		/// <summary>
		/// 结算类型:T0,T1
		/// </summary>
		public string settle_type { get; set; }
	}

	/// <summary>
	/// 费率查询请求
	/// </summary>
	public class query_fee_req : head_req {
		/// <summary>
		/// 通道
		/// </summary>
		public PayChannel pay_channel { get; set; }
		/// <summary>
		/// 结算类型:T0,T1
		/// </summary>
		public string settle_type { get; set; }
	}

	/// <summary>
	/// 费率查询响应
	/// </summary>
	public class query_fee_resp : ApiResultMessage {
		/// <summary>
		/// 支付费率
		/// </summary>
		public decimal fee { get; set; }
		/// <summary>
		/// 结算费:分
		/// </summary>
		public string settle { get; set; }
	}

    /// <summary>
    /// 短信响应结果
    /// </summary>
    public class sms_result {
        /// <summary>
        /// 状态 成功：success
        /// </summary>
        public string status { get; set; }
        /// <summary>
        /// 响应编号
        /// </summary>
        public string respCode { get; set; }
        /// <summary>
        /// 响应
        /// </summary>
        public string respMsg { get; set; }
        /// <summary>
        /// 消息编号
        /// </summary>
        public string msgid { get; set; }
    }
}
